/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package uimigration.UIModel;

import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;

import uimigration.Interactions.Behaviour;
import uimigration.WidgetsModel.Widget;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>UI Element</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link uimigration.UIModel.UIElement#getName <em>Name</em>}</li>
 *   <li>{@link uimigration.UIModel.UIElement#getId <em>Id</em>}</li>
 *   <li>{@link uimigration.UIModel.UIElement#getEvents <em>Events</em>}</li>
 *   <li>{@link uimigration.UIModel.UIElement#getProperties <em>Properties</em>}</li>
 *   <li>{@link uimigration.UIModel.UIElement#getWidgetType <em>Widget Type</em>}</li>
 * </ul>
 * </p>
 *
 * @see uimigration.UIModel.UIModelPackage#getUIElement()
 * @model
 * @generated
 */
public interface UIElement extends EObject {
	/**
	 * Returns the value of the '<em><b>Name</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Name</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Name</em>' attribute.
	 * @see #setName(String)
	 * @see uimigration.UIModel.UIModelPackage#getUIElement_Name()
	 * @model
	 * @generated
	 */
	String getName();

	/**
	 * Sets the value of the '{@link uimigration.UIModel.UIElement#getName <em>Name</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Name</em>' attribute.
	 * @see #getName()
	 * @generated
	 */
	void setName(String value);

	/**
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Id</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Id</em>' attribute.
	 * @see #setId(int)
	 * @see uimigration.UIModel.UIModelPackage#getUIElement_Id()
	 * @model
	 * @generated
	 */
	int getId();

	/**
	 * Sets the value of the '{@link uimigration.UIModel.UIElement#getId <em>Id</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Id</em>' attribute.
	 * @see #getId()
	 * @generated
	 */
	void setId(int value);

	/**
	 * Returns the value of the '<em><b>Events</b></em>' containment reference list.
	 * The list contents are of type {@link uimigration.UIModel.Event}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Events</em>' containment reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Events</em>' containment reference list.
	 * @see uimigration.UIModel.UIModelPackage#getUIElement_Events()
	 * @model type="uimigration.UIModel.Event" containment="true"
	 * @generated NOT
	 */
	EList<Event> getEvents();

	/**
	 * Returns the value of the '<em><b>Properties</b></em>' containment reference list.
	 * The list contents are of type {@link uimigration.UIModel.Property}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Properties</em>' containment reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Properties</em>' containment reference list.
	 * @see uimigration.UIModel.UIModelPackage#getUIElement_Properties()
	 * @model type="uimigration.UIModel.Property" containment="true"
	 * @generated NOT
	 */
	EList<Property> getProperties();

	/**
	 * Returns the value of the '<em><b>Widget Type</b></em>' containment reference.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Widget Type</em>' containment reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Widget Type</em>' containment reference.
	 * @see #setWidgetType(Widget)
	 * @see uimigration.UIModel.UIModelPackage#getUIElement_WidgetType()
	 * @model containment="true"
	 * @generated
	 */
	Widget getWidgetType();

	/**
	 * Sets the value of the '{@link uimigration.UIModel.UIElement#getWidgetType <em>Widget Type</em>}' containment reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Widget Type</em>' containment reference.
	 * @see #getWidgetType()
	 * @generated
	 */
	void setWidgetType(Widget value);
	
	void setWidget(Widget value);
} // UIElement
